package template;

import java.util.EnumSet;
import java.util.Set;
import static template.Sets.*;
import static template.Watercolors.*;

public class WatercoloeSets {
	public static void main(String[] args){
		Set<Watercolors> set1 = EnumSet.range(BRILLIANT_RED,VIRIDIAN_HUE);
		Set<Watercolors> set2 = EnumSet.range(CERULEAN_BLUE_HUE,BURNT_UMBER);
		System.out.println("set1" + set1);
		System.out.println("set2" + set2);
		System.out.println("union"+union(set1,set2));
		Set<Watercolors> subset = intersetction(set1,set2);
		System.out.println("intersection"+subset);
	}
}
